package com.ztesoft.web.common.db.dao.mapper;

import com.ztesoft.web.common.db.arg.DmPartitionColumnsArg;
import com.ztesoft.web.common.db.po.DmPartitionColumnsPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IDmPartitionColumnsMapper {
    
    List<Integer> countByArg(DmPartitionColumnsArg arg);

    List<DmPartitionColumnsPO> selectByArg(DmPartitionColumnsArg arg);

    DmPartitionColumnsPO selectByPrimaryKey(Integer id);

    List<DmPartitionColumnsPO> selectByArgAndPage(DmPartitionColumnsArg arg, RowBounds rowBound);

    int insert(DmPartitionColumnsPO record);

    int insertSelective(DmPartitionColumnsPO record);

    int insertBatch(@Param("list") List<DmPartitionColumnsPO> records);

    int updateByArgSelective(@Param("record") DmPartitionColumnsPO record,
            @Param("arg") DmPartitionColumnsArg arg);

    int updateByArg(@Param("record") DmPartitionColumnsPO record,
            @Param("arg") DmPartitionColumnsArg arg);

    int updateByPrimaryKeySelective(DmPartitionColumnsPO record);

    int updateByPrimaryKey(DmPartitionColumnsPO record);
    
    int deleteByArg(DmPartitionColumnsArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}